package org.bb.collectionTools.comparedemo2;


public class Student {
	// 属性
	private String stuName;
	private String stuNo;
	private int stuScore;
	// 行为

	/**
	 * 打印学生自己的信息
	 */
	public void printMe() {
		System.out.println("姓名：" + this.getStuName() + ",学号：" + this.getStuNo() + ",成绩：" + this.getStuScore());
	}

	public Student() {
		super();
	}

	public Student(String stuName, String stuNo, int stuScore) {
		super();
		this.stuName = stuName;
		this.stuNo = stuNo;
		this.stuScore = stuScore;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public int getStuScore() {
		return stuScore;
	}

	public void setStuScore(int stuScore) {
		this.stuScore = stuScore;
	}

}
